package com.sunducation.wts.room.one2more.dao

import androidx.room.Dao
import androidx.room.Query
import androidx.room.Transaction
import com.sunducation.wts.room.one2more.bean.TwoOwnerWithDogs

@Dao
interface TwoOwnerWithDogsDao {
    @Transaction
    @Query("SELECT * FROM TwoOwner")
    fun getTwoDogsAndOwners():List<TwoOwnerWithDogs>
}